//
//  HJDChuanRanViewController.m
//  JYHospital
//
//  Created by 胡金东 on 16/7/4.
//  Copyright © 2016年 胡金东. All rights reserved.
//

#import "HJDChuanRanViewController.h"

@interface HJDChuanRanViewController ()

@end

@implementation HJDChuanRanViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"传染四项";
    [self.navigationController.navigationBar setTitleTextAttributes:
     @{NSFontAttributeName:[UIFont systemFontOfSize:19],
       NSForegroundColorAttributeName:[UIColor getColorWithHexNumber:@"848484"]}];
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithTarget:self action:@selector(backBtnClick) image:@"︿" HighImage:nil];
    
    
    [self setUpCimage];
}

-(void)setUpCimage{
    
    NSString *url = [NSString stringWithFormat:@"%@/%@",headImageUrl,self.CimageModel.infectious];
    UIImageView *imgView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 64, HJDWidth, HJDHeight)];
    imgView.image= [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:url]]];
    [self.view addSubview:imgView];
}

-(void)backBtnClick{
    [self.navigationController popViewControllerAnimated:YES];
}



@end
